﻿#include <iostream>
using namespace std;

int main() {
	char retry;

	do {
		int month;
		cout << "月份：";
		cin >> month;

		if (month < 1 || month > 12) {
			cout << "月份不存在" << endl;
		}
		else if (month == 12 || month <= 2) {
			cout << "冬季" << endl;
		}
		else if (month <= 5) {
			cout << "春季" << endl;
		}
		else if (month <= 8) {
			cout << "夏季" << endl;
		}
		else if (month <= 11) {
			cout << "秋季" << endl;
		}

		cout << "是否继续（继续：Y，退出：N）：";
		cin >> retry;
	} while (retry == 'Y' || retry == 'y');
}